import bezier_line from "./bezier_line";
import bezier_scene from "./bezier_scene";

class bezier_data {
    private static _instance: bezier_data = null;
    private constructor() { }
    public static get instance() {
        if (this._instance === null) {
            this._instance = new bezier_data();
        }
        return this._instance;
    }

    //////////////////////////////////////////////////////////////////////
    public bezier_scene: bezier_scene = null;
    public bezierLines: bezier_line[] = [];
    public curBezierLineIndex: number = -1;
    public shiftPressed: boolean = false;
    public drawGuideLines: boolean = true;
}

export default bezier_data.instance;
